package cn.iocoder.yudao.module.dify.service.BatchUploadKnowledgeBase;

import io.github.imfangs.dify.client.exception.DifyApiException;

import java.io.File;
import java.io.IOException;

public interface BatchUploadKnowledgeBaseService {

    Boolean folderBatchUpload() throws DifyApiException, IOException;

    void processFileWithOCR(File file, String datasetId) throws Exception;

    void uploadFileToKnowledgeBase(File file, String datasetId) throws IOException, DifyApiException;

}
